<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <meta name="author" content="Flying hormone" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta charset="UTF-8">
        <link rel="stylesheet" href="../css/media.css" />
        <link rel="stylesheet" href="../css/mui.min.css" />
        <link rel="stylesheet" href="../css/head_foot.css" />
        <script type="text/javascript" src="../js/jquery-1.9.1.js"></script>
        <script type="text/javascript" src="../js/jquery.Query.js" ></script>
        <script type="text/javascript" src="../js/jquery-cookie.js"></script>
        <script type="text/javascript" src="../js/mui.min.js"></script>
        <script type="text/javascript" src="../js/appcan.js"></script>
        <script type="text/javascript" src="../js/appcan.control.js"></script>
        <script type="text/javascript" src="../js/common.js" ></script>
		<title>我的提问</title>
		<style>
           
            .quyu{ position: relative;}
            .quyu select{ background: none; margin-bottom: 0; }
            .xiangxia{ position: absolute; top: 0.625em; right: 0.625em; z-index: -100; }
            .tu_2 img{
                width: 100%;
                padding: 0.625em 1em;
                background: #fff;
            }
            .mui-table-view-cell>a:not(.mui-btn){ width: 70%; float: left; line-height: 1.5em;}
            
            .mui-table-view-cell>p{ width: 30%; float: right; text-align: right; line-height: 2.5em;}
            .mui-icon{ font-size: 1em;}
            .mui-table-view .mui-media-object.mui-pull-left{ border-radius: 50%;
				 width: 3em;
                height: 3em;
                line-height: inherit;
                max-width: inherit;}  
            .list_b li>p{
                position: absolute;
                top: 0.625em; right: 1em;
                color: #FF3366;
            }          
        </style>
	</head>

	<body>
		<header>
			<a><span class="leftleft"></span></a>
			<h1>我的提问</h1>
		</header>
		<section>
			<ul class="list_b" id="myMsgList">
			</ul>
		</section>

		<footer>
			<nav class="mui-bar mui-bar-tab">
				<a href="javascript:;" id="tcIndex">
                    <img src="../img/shouye2.png" />
                    <span class="mui-tab-label">首页</span>
                </a>
                <a href="javascript:;" id="myfabu">
                    <img src="../img/fabu2.png" />
                    <span class="mui-tab-label">发布</span>
                </a>
                <a class="action" href="javascript:;" id="myInfo">
                    <img src="../img/mine2.png" />
                    <span class="mui-tab-label">我的</span>
                </a>
			</nav>
		</footer>
        <script>
            $(function(){
                appcan.ajax({
                    type:"post",
                    async:false,       
                    url:host+"/getMyMsgList.json?userId="+appcan.locStorage.getVal("userId"),
                    data:"",
                    dataType:"json",
                    contentType: "application/json",
                    success : function(dataResult) {
                        var dataList = dataResult.data;
                        var msgStr = "";
                        if(dataList.length>0){
                            for(var i=0;i<dataList.length;i++){
                                msgStr +='<li>';
                                msgStr +='<a href="javascript:;" onclick="openUrl(\'../page/my_askart.html?msgId='+dataList[i].id+'\',\'my_askart\')">';
                                msgStr +='<div>';
                                msgStr +='<img src="'+hostIp+dataList[i].picUrl+'">';
                                msgStr +='</div>';
                                msgStr +='<div><p>'+dataList[i].cardName+'</p>';
                                msgStr +='<p style="color: #232323;font-size: 1em;">'+dataList[i].title+'</p></div></a>';
                                msgStr +='<p><a>'+dataList[i].reviewCount+'个回答<span class="rightright" style="margin-top: 0.8em; margin-left: 0.2em;"></span></a></p></li>';
                            }
                        }
                        $("#myMsgList").html(msgStr);
                    }
                }) 
            })
        </script>
	</body>

</html>